package ru.nsu.fit.ws.get_user_stat;

/**
 * @author Sergey Kozlov
 */

public class UserStatOutput {
    private boolean successful = true;
    private String errorMessage;
    private int userRating;
    private int userRatingPosition;
    private int[] askedQuestionIds;
    private int[] answeredQuestionIds;

    public boolean isSuccessful() {
        return successful;
    }

    public void setSuccessful(boolean successful) {
        this.successful = successful;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public int getUserRating() {
        return userRating;
    }

    public void setUserRating(int userRating) {
        this.userRating = userRating;
    }

    public int getUserRatingPosition() {
        return userRatingPosition;
    }

    public void setUserRatingPosition(int userRatingPosition) {
        this.userRatingPosition = userRatingPosition;
    }

    public int[] getAskedQuestionIds() {
        return askedQuestionIds;
    }

    public void setAskedQuestionIds(int[] askedQuestionIds) {
        this.askedQuestionIds = askedQuestionIds;
    }

    public int[] getAnsweredQuestionIds() {
        return answeredQuestionIds;
    }

    public void setAnsweredQuestionIds(int[] answeredQuestionIds) {
        this.answeredQuestionIds = answeredQuestionIds;
    }
}
